package top.sssd.auth.model.role.entity;

import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import top.sssd.auth.common.CommonEntity;

@EqualsAndHashCode(callSuper = false)
@Data
@ApiModel(value = "Role对象", description = "角色表")
public class Role extends CommonEntity {
    //角色ID
    @ApiModelProperty(value = "角色ID")
    private Long id;
    //角色名称
    @ApiModelProperty(value = "角色名称")
    private String name;
    //角色编码
    @ApiModelProperty(value = "角色编码")
    private String code;
    //角色描述
    @ApiModelProperty(value = "角色描述")
    private String description;
    //状态(0:禁用,1:启用)
    @ApiModelProperty(value = "状态(0:禁用,1:启用)")
    private Boolean status;
}
